# -*- encoding:utf-8 -*-
'''
	testvideodao.py
	======================
	@descript: 
	@copyright:chinasoft
	@author:guoxiaofei
	@date: 2021-01-27 18:42
	@version:v1.0
'''
import unittest
from dao.videodao import VideoDao
from entity.videoentity import VideoEntity
class VideoDaoTest(unittest.TestCase):
    def testInsertTable(self):
        var_VideoDao = VideoDao()
        var_VideoEntity = VideoEntity(None, 'cjgongname02','cjgongurl2', 'cjgongjpg')
        var_result = var_VideoDao.insertable(var_VideoEntity)
        print(var_result)
        pass
    def testSelectTable(self):
        var_VideoDao = VideoDao()
        var_result=var_VideoDao.selecttable()
        print(var_result)
        pass

    pass

